package com.cqc.jdk8.Jutil.concurrent.threadPoolExecutor.exception;

/**
 * @author cui
 * @date 2023/11/11 9:38
 * @description  Runnable.run()没有返回值，Callable有返回值
 **/
public class Task1 implements Runnable {

    @Override
    public void run() {
        System.out.println("进入 Task1 的 run 方法");
        throw new RuntimeException("手动抛出异常");
    }
}
